requirejs.config({
  baseUrl: '../js',
  paths: {
    'jquery'                  : 'lib/require-jquery',
    'bootstrap'               : 'lib/bootstrap',
    'GlobalInfo'              : 'common/GlobalInfo', 
    'jquery.html5storage.min' : 'jquery-plugins/jquery.html5storage.min',
    'jquery.xml2json'         : 'jquery-plugins/jquery.xml2json',
    'jquery.blockUI'          : 'jquery-plugins/jquery.blockUI',
    'jquery-ui.min'           : 'jquery-plugins/jquery-ui.min',
    'jquery.base64.min'       : 'jquery-plugins/jquery.base64.min',
    'fineuploader'            : 'jquery-plugins/jquery.fineuploader-3.5.0.min',
    'main-index'              : 'main/main-index',
    'main-permissions'        : 'main/main-permissions',
    'main-users'              : 'main/main-users',
    'main-homePageDirector'   : 'main/main-homePageDirector',
    'main-searches'           : 'main/main-searches',
    'main-searchClassRoom'    : 'main/main-searchClassRoom',
    'main-searchCourse'       : 'main/main-searchCourse',
    'main-searchTeacher'      : 'main/main-searchTeacher',
    'main-uploads'            : 'main/main-uploads',
    'Grid'                    : 'util/Grid',
    'FullCalendar'            : 'util/fullcalendar.min',
    'ResultObject'            : 'util/ResultObject',
    'Validator'               : 'util/Validator',
    'navBar-index'            : 'util/navBar-index',
    'navBar-general'          : 'util/navBar-general'
  },
  shim: {
    'bootstrap'               : ['jquery'],
    'jquery.html5storage.min' : ['jquery'],
    'jquery.xml2json'         : ['jquery'],
    'jquery.blockUI'          : ['jquery'],
    'jquery-ui.min'           : ['jquery'],
    'jquery.base64.min'       : ['jquery'],
    'fineuploader'            : ['jquery']
  }
});